package com.wsleo.common.utils;

import java.util.Properties;

public class PropertiesUtil {

	public static Properties loadProperties(String fileName) {
		try {
		    Properties prop = new Properties();
			prop.load(PropertiesUtil.class.getResourceAsStream(fileName));
			return prop;
		} catch (Exception e) {
			e.printStackTrace();
			return null;
		}
	}
}
